﻿@model BugTracker.Models.User

@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_LayoutLogIn.cshtml";
}

@*<center><img src="../../Content/themes/base/images/log in resized.png" /></img></center>*@
<img src="../../Content/themes/base/images/BugTrackerHeaderResizedforLogIn.png" /></img>
@*@Html.ValidationSummary(true,"Log in was unsuccessful. Please make sure that you have entered a valid username and password.")*@

<br />
<br />
@using (Html.BeginForm())
{
    <fieldset>
<p>
<br />
<label> Username</label>
</p> <input type="text" name="user_name" id="user_name" value="" />
<br/>
     
<p>
<br />
<label>Password</label>
</p> <input type="password" name="password" id="password" value="" />
<br />

<p> <input type="submit" value=" Login " id="submit" name="submit"/> </p>

</fieldset>
   @* <center>@Html.ActionLink("Change Password", "ChangePassword")</center>*@
    

    <center>
<font color="red">@ViewBag.Error</font> 
  <font color="red">@ViewBag.ErrorMessage</font>
 <input type = "hidden" name="attempts" value="@ViewBag.Atempts" id="attempts" />
            <font color="red">@ViewBag.errmessage</font>
 </center> 
   
    }